; or (2) by a licensed importer, licensed manufacturer, or licensed dealer to a person not licensed under this chapter, at a temporary location described in subsection (j) in any State. . (c) Residence of United States officers Section 921 of title 18, United States Code, is amended by striking subsection (b) and inserting the following: (b) For purposes of this chapter: (1) A member of the Armed Forces on active duty, or a spouse of such a member, is a resident of— (A) the State in which the member or spouse maintains legal residence; (B) the State in which the permanent duty station of the member is located; and (C) the State in which the member maintains a place of abode from which the member commutes each day to the permanent duty station of the member. (2) An officer or employee of the United States (other than a member of the Armed Forces) who is stationed outside the United States for a period of more than 1 year, and a spouse of such an officer or employee, is a resident of the State in which the person maintains legal residence. . 17. Interstate transportation of firearms or ammunition (a) In general Section 926A of title 18, United States Code, is amended to read as follows: 926A. Interstate transportation of firearms or ammunition (a) Definition In this section, the term transport includes— (1) staying in temporary lodging overnight; (2) stopping for food, fuel, vehicle maintenance, an emergency, or medical treatment; and (3) any other activity incidental to the transport. (b) Authorization Notwithstanding any provision of any law (including a rule or regulation) of a State or any political subdivision thereof, a person who is not prohibited by this chapter from possessing, transporting, shipping, or receiving a firearm or ammunition shall be entitled to— (1) transport a firearm for any lawful purpose from any place where the person may lawfully possess, carry, or transport the firearm to any other such place if, during the transportation— (A) the firearm is unloaded