Jacob's Ladder

Jacob's Ladder (1990)

Ending / spoiler

Jake died in Vietnam. The movie is the result of his spirit which doesn't want to accept his dead and clinges to life (the idea of this is told by Louis, a less convincing interpretation is that it is a hallucination shortly before his dead). Once he "accepts" his dead, he goes "to heaven".