Just Like Heaven is a 2005 American fantasy romantic comedy film directed by Mark Waters and starring Reese Witherspoon and Mark Ruffalo. It is based on the 1999 French novel If Only It Were True (Et si c'était vrai...) by Marc Levy. Lonely landscape architect David Abbot finds an amazing San Francisco apartment to sublet, only to find it is inhabited by Elizabeth Masterson, the spirit of the overachieving doctor previous tenant. Steven Spielberg obtained the rights to produce the film from the book.