I have a very vague memory of a novel/short story/film/perhaps even graphic novel, where dead people were able, for some time after their death, to return to their family and speak with them for a limited amount of time. I seem to remember an image of people in a kind of cemetery looking at some device where dead people manifested, but it is well possible that I am mixing up more than one story with a similar idea.
I believe the story you are talking about is Ubik by Philip K Dick. A fantastic story.
Runciter runs the company with the assistance of his deceased wife Ella, who is kept in a state of "half-life", a form of cryonic suspension that gives the deceased person limited consciousness and communication ability.
The TV series Pushing Daisies was also about people returning from death for a minute, although it was because the protagonist had that power to solve misteries.
In the first episode of Torchwood they used a device (a mysterious glove) to bring people back to life for a short amount of time to interrogate a murder victim. It was time-limited, maybe 30 seconds, and had to be done soon after death (no more than a day IIRC).
The glove was also used in a later episode where it's matching glove was found with a different power.
Is it possibly "Beautiful Stuff" by Susan Palwick? The dead in this can be revived, and will remember their lives and can communicate with people.
They do, however, tend to be easily distracted. The main character is one who tries very hard to communicate important messages to his wife and to humanity at large, after a 9/11-esque attack.
It's included in the collection The Living Dead, which has a large number of zombie-related short stories.