You are in the US from the time you enter US airspace until the time you leave it. That is not necessarily the same as whether some other country may also have jurisdiction over your actions. If you punch an AF FA after the flight is closed at JFK, you are still chargeable under US (and NY) law as well as under French law.