It's a stuffty plot device, there's a name for it like mcguffin or deus ex machima, but i'm not well versed in movies. Basically it's a lazy way to bring a person back to life, even though they could have easily had the dead person triumph without being killed.