11 Pa.C.S. § 11201
(5) An individual elected to the office of mayor must reside in the city for the duration of the individual's term of service.
Cross References. Section 11201 is referred to in section 10701 of this title.
The qualifications for office of mayor shall be as follows:
References in Text. Act 54 of 2017 added 53 Pa.C.S. § 1142, which provides that "active military duty" shall not disqualify a person from fulfilling residency requirements for municipal elective office and that one who is a resident of a municipality for at least one year immediately prior to the person's absence due to active military duty shall be deemed to be an ongoing resident of the municipality for purposes of any residency requirement of office unless and until the person demonstrates an intent to establish a new domicile outside the municipality.