The 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 mayor or councilmember unless he or she shall have been a resident of the city for at least 12 months prior to the date of election of the mayor or councilmember; each shall continue to reside therein during his or her period of service and to be registered and qualified to vote in municipal elections of the city.