Also remember there are states that are high tax and will do their worst to extract every cent they can from you. CA, NY and IL are often mentioned in that context, I do not know about PA. If you take up, say FL, residence/domicile but keep a lot of contacts like doctors and banking back in your original residence you -may- have a problem. That's when you may want to discuss this with a lawyer especially if your wealth level is such to attract the tax vultures attention.
States like Florida and Texas don't care, they are low tax, no income tax and there isn't any money in it for them to harass you.
But if you think there will be an issue, then talk to a lawyer who can give you good advice. Not the info you get here which may not be, myself included.