Someone described a story with an interesting premise:
I remember reading a SF story many years ago, in which mankind had developed a way to capture a person's consciousness/personality/soul/whatever (for brevity I'll call it soul, but assume no religious connotation in this context) at the moment of death and sustain it in a continuing state of self-awareness in some sort of device. I have forgotten many of the details, but one use of the device was to ensure prisoners served their full sentences. If you were sentenced to, say, 20 years but died after 15, your soul was captured and spent 5 years experiencing prison in the device before being released to whatever happens to souls after death. IIRC, the focus of the story was a prisoner who had committed a crime so heinous (destroying an entire populated planet, maybe?) that he had been sentenced to a term of many thousands of years.
But when asked what the title was, he couldn't recall:
Not a clue, unfortunately. Back in the day, I used to read a lot of SF, including subscribing to two or three magazines full of stories that were (probably) never published anywhere else. Hmm, if you ever manage to come across a stash of Analog magazines from the mid-70s, there's a decent chance it's in one of those, but beyond that, I have no idea.