Members of the city council shall serve for terms of four years and until their respective successors are elected and qualified. No person shall be eligible to serve as a mayor or councilmember unless he or she has been a resident of the city for six months prior to the date of election, and each person elected to the city council shall continue to reside in the city during his or her period of service and shall continue to be registered and qualified to vote in municipal elections of the city.