Brainstorm [1983. A team of researchers develops a machine that can record a person's experiences and then allow others to access those experiences as a sort of hyper-virtual-reality. Warning: not a movie for kids or overly sensitive adults, because it explores the experience of death. Great cast (Christopher Walken, Louise Fletcher, Natalie Wood (in her last movie before her death by drowning), and Cliff Robertson) directed by fx maestro Douglas Trumbull.]
http://www.imdb.com/title/tt0085271/
I think this is the one youre looking for..
saw it a while back... thanks for reminding me..