Is your game lagging? Are you below 30fps during DF? Is your ping naturally high? All of these issues can create lag within the macro. If there's even a tiny amount of lag, a macro that's optimally set (in your case, /wait 1) will fall behind and not register the next move. My suggestion is get rid of the wait, and just repeatedly hit the macro until resurrection comes out. In your case

/ac swiftcast me
/ac resurrection

This insures it'll activate, you'll just need to be a little spam happy.