You can google the UCCJA and read up. That was one of the hang ups in my case, and lawyers pumping me full of mis-information.
The key is to file first in PA. In a family case, it tough when you are the defendant/respondant. Plus, if Granny responds to the PA action, they get jurisdiction...