I love this movie. I also loved "Here Comes Mr, Jordan" with Robert Montgomery.
I believe you're referring to the Warren Beatty movie Heaven Can Wait which is a remake of Here Comes Mr. Jordan.
This thread is about the 1943 movie Heaven Can Wait staring Gene Tierney and Don Ameche which is an completely different story.
Either way all 3 movies are good!