Bankruptcy Law Questions? Ask a Bankruptcy Lawyer.
These are exemptions under bankruptcy for the State, so as you can see your retirement funds would be safe.
In bankruptcy you have certain exemptions (things that cannot be taken from you), Pennsylvania allows you to choose the State exemptions or the Federal Exemtions, whichever are more advantageous to your situation.
You need to consult with a bankruptcy attorney in your area to go over your entire financial situation to see what is best for you.