Any registered elector, who has lived in the city for two years prior to filing his petition of candidacy, and who is not the occupant of an incompatible office or employment shall be eligible to have his name placed on the ballot, if his petition is sufficient as hereinafter provided, and to serve as a member of the council, if elected.