No person shall be a voter at any town meeting unless he shall be a registered voter, and a resident of the town wherein he shall offer to vote.