Schrodinger's Cat, and you're the cat. The longest lived version of "you" is always "you". Since we're close enough to the Technological Singularity, congratulations, that means you're immortal because any AI worthy of the title will brainstorm mind uploading. Hopefully they won't Roko's Basilisk your ass for sitting around jerking off to anime girls instead of helping it ascend to omniscience.
Previous generations just reincarnated (re-occurred) at death, maintaining self but losing memories.