Answer
Heaven Can Wait, a 1978 fantasy comedy film starring Warren Beatty, features Elaine May in the role of screenwriter. The film centers around Joe Pendleton (Beatty), a football player whose soul mistakenly ascends to Heaven before his time. Sent back to Earth in the body of another man, Joe navigates his second chance and grapples with life while striving to reunite with his beloved.