At least when resurrecting, you can move the body off a hazard first (teleport, or use stairs, etc, with the dead character linked to the one(s) telporting).