First of all, lightning is regular electricity (nothing "static" about it).
Secondly, only friction (contact, really) against 2 materials of which at least one is insulating produce what is called "static" electricity (and that is a very misused term, since it's just a buildup of charged particles).
Thirdly, the matter won't actually move/flow with an electrical current (lightning in this case) so there won't be that kind of friction that causes charge buildup (not to mention that in a lightning the air is no longer insulating so there won't be a buildup at all).
But then, what if it did? I'm sure the laws of physics will still hold.