This occurred to me while watching the (so-bad-it's-good) Jackie Chan film The Medallion. Partway through the film, Chan's character Eddie Yang dies in the process of saving the "chosen one", Jai. In gratitude, Jai uses the titular medallion to resurrect Eddie, granting him superhuman strength and immortality. However, rather than resurrecting immediately, Eddie remains seemingly dead, his body is taken to the morgue, Nicole and Watson say their final goodbyes to him... and then his resurrected self appears.
Later in the film, Snakehead kills himself with poison and forces Jai to resurrect him with the medallion. The revived Snakehead appears within about five seconds.
Similarly, when Eddie uses the medallion to resurrect Nicole at the end of the film, she returns within a matter of seconds.
Eddie's resurrection, however, seems to have taken at least a couple of hours (it's hard to know how long exactly). Out-of-universe, I imagine this was done for narrative purposes: dragging out the drama of his death, and timing his resurrection for maximum comic effect. But is there an in-universe explanation as to why Eddie's resurrection took so much longer?