§ 595. Guarantee of residency for military personnel and spouses of military personnel

(a) In general
For the purposes of voting for any Federal office (as defined in section 301 of the Federal Election Campaign Act of 1971 (2 U.S.C. 431)) or a State or local office, a person who is absent from a State in compliance with military or naval orders shall not, solely by reason of that absence—
(1) be deemed to have lost a residence or domicile in that State, without regard to whether or not the person intends to return to that State;
(2) be deemed to have acquired a residence or domicile in any other State; or
(3) be deemed to have become a resident in or a resident of any other State.
(b) Spouses
For the purposes of voting for any Federal office (as defined in section 301 of the Federal Election Campaign Act of 1971 (2 U.S.C. 431)) or a State or local office, a person who is absent from a State because the person is accompanying the person’s spouse who is absent from that same State in compliance with military or naval orders shall not, solely by reason of that absence—
(1) be deemed to have lost a residence or domicile in that State, without regard to whether or not the person intends to return to that State;
(2) be deemed to have acquired a residence or domicile in any other State; or
(3) be deemed to have become a resident in or a resident of any other State.