4 Pa. Code § 610.1
(b) Resident. Except as otherwise provided in this subsection, a resident is an applicant whose current primary residence is within this Commonwealth. The following apply:
(2) Members of the armed forces and their spouses. An applicant who is a current active-duty member of the armed forces of the United States, or who is the spouse of a current active-duty member of the armed forces of the United States, is a resident if the applicant meets either of the following:
(c) Former resident defined. A former resident of this Commonwealth is an applicant who relocated out-of-State for academic or employment purposes, plans to establish residency in this Commonwealth within 6 months of beginning employment in the classified service and has done one of the following:
(d) Counties.