I don't understand. Why?
... you're not using Elixirs to resurrect in raid events, I hope? There is no penalty for dying, others will finish the fight for you. You can even leave the raid and pick up the rewards later. Just use the "go to my page" button and NEVER the "Give Up" button - nothing good will come from the latter!