Iowa constitution
Article II
Section 4

No person in the military, naval, or marine service of the United States shall be considered a resident of this state by being stationed in any garrison, barrack, or military or naval place, or station within this state.