Justices, judges and justices of the peace shall be citizens of the Commonwealth. Justices and judges shall be members of the bar of the Supreme Court. Justices and judges of statewide courts, for a period of one year preceding their election or appointment and during their continuance in office, shall reside within the Commonwealth. Other judges and justices of the peace, for a period of one year preceding their election or appointment and during their continuance in office, shall reside within their respective districts, except as provided in this article for temporary assignments.