The registration statutes are found here:
They in turn reference the requirements for residency, found here:
(xxx) "Residence" is the place of a person's actual habitation. The construction of this term shall be governed by the following rules:
(A) Residence is the place where a person has a current habitation and to which, whenever he is absent, he has the intention of returning;
(B) A person shall not gain or lose residence merely by reason of his presence or absence while:
(I) Employed in the service of the United States or of this state; or
(II) A student at an institution of learning; or
(III) Kept at a hospital or other institution; or
(IV) Stationed at or residing on a military reservation or installation or at a transient camp maintained for relief purposes by the government of the United States in this state. No person shall be excluded as a voter solely because of his residence on a federal enclave within the state. This factor shall be considered with all others in the determination of the person's residence within the state for voting purposes.
(C) A person shall not lose his residence by leaving his home to go to another state, another district of this state, or to another country for temporary purposes, with the intent of returning, if he has not registered in the other state, district or country;
(D) A person shall not gain residence in a county if he enters it without the intent of making it his current actual residence;
(E) If a person removes to another state with the intent of making it his residence, he loses his residence in Wyoming; except that in a general election year, if his registration is valid in Wyoming when he leaves this state and he is unable to qualify under the laws of his new state of residence to vote at the primary or general election, he shall be deemed to have retained residence in Wyoming for purposes of voting by absentee ballot in the primary or general election;
(F) A person who takes up or continues his abode at a place other than where his family resides, shall be a resident of the place where he actually abides.
Notice how government workers get special treatment?
It's funny, I thought there was some requirement that actual residence within the state needed to be for half a year plus a day, but that must not be for voting purposes. I think it is so, to be considered a Wyoming resident for tax purposes, if I'm not mistaken.