1. Die (duh)
2. start logging out with your body on the ground.
3. When the login screen says " 1 second untill logout" press "RELEASE SPIRIT"
4. If timed right your ghost will pop up the moment before you logout but still be in the instance.
5. Log back in. If you see the instance load screen. Then you've done it right.
6. You ghost will be INSIDE THE INSTANCE right next to yur body and the "Ressurect Now?" window will pop up. Ressurect inside the instance.
I don't know if this works in the World(Dying in PVE/PVP) but the instace thing DOES.
I did this twice today in ZG.