No soldier, sailor, or marine, in the military or naval service of the United States, shall acquire a residence by reason of being stationed on duty in this State.