Any person who is a resident of the territory described as the corporate limits of the city and who has been a resident there of for the six months immediately preceding the date of the election, and who is twenty-one years of age and a qualified voter of said city, shall be eligible to be elected as mayor or councilman. Should the mayor or any councilman remove his residence from within the corporate limits of said city during his term of office, his office shall immediately become vacant. [Sidenote: Qualifications.]