it depends on what religon or your beliefs. in some places and for some people, they would say yes, but some say no, since some people dont believe in reincarnation, or in simple terms, rebirth.
HYPOTHETICAL QUESTION: SAY YOU'RE GIVEN A LIFE SENTENCE. IF YOU DIE IN PRISON, AND THEN COME BACK TO LIFE, COULD YOU THEN ARGUE THAT YOU SERVED YOUR LIFE SENTENCE?