No person shall be eligible to the office of treasurer except a citizen of the city, a resident therein for seven years next preceding his appointment, unless he shall have been absent on public business of the United States or of this state.
53 P.S. § 22602