A Pennsylvania Durable Power of Attorney Form is designed to allow the Attorney-in-Fact to remain Attorney-in-Fact even if the Principal is declared incapacitated by a doctor. These agreements are usually Springing, IE will only go into effect after the Principal has been incapacitated.
Note that, under Pennsylvania state law, if the Principal and Attorney-in-Fact are spouses and get a divorce, any Power of Attorney agreement will automatically be voided. This is to avoid a situation where a former Spouse winds up with the Power of Attorney and has to have the agreement revoked by a court. If the Principal wishes for their former spouse to retain their Powers they will need to draft and sign a new agreement.