Notaries do not notarize documents. They notarize signatures, and they are only permitted in the state by which they are licensed.
It does not matter what the document is. If the document is signed in Pennsylvania in the presence of a Pennsylvania notary, that notary can notarize the signature. If the document is signed in any other state, or outside of the presence of the notary, the notary cannot notarize the signature.