That for the purpose of voting, no person who is in the employment of this state or any municipal subdivision thereof in any civil capacity shall be deemed to have gained or lost a residence by reason of such employment, but all such officers or employees shall be considered as residents of the place from whence they were elected or appointed.
K.S.A. 25-108