When two or more states cannot resolve which state is the state of residence, the state where the person is physically located is the state of residence.
55 Pa. Code § 148.21
This section cited in 55 Pa. Code § 148.17 (relating to persons covered by interstate residency agreement).