This is probably gonna seem silly to the atheists here but:
Reincarnation, not in the religious sense with karma and all that, but total randomness
There could be many possibilites on how it works:
Your energy could move to a random newborn baby in the same hospital you die in, or just a random cat, or mouse, or insect. Or potentially it has no distance limitations and you can end up on an alien planet.
But it tends to stablize when your "soul" (or "energy" or whatever you wanna call that) inhabits something that remembers the past or envisions the future, like humans for example.
But if you end up on a cat, then your existence would just feel like a quick blur like when you dream and it doesnt have a clear story, that's my theory on what its like to be a random animal, you sort of just wander around running on instict, then you die and reincarnation repeats. And when you are a random animal, you wont have time to even have existential thoughts, you just... *exist" for a short time from the perspective of being that animal, and die.
But your energy could also just hover in space for a billion earth years, or a trillion earth years, and THEN you get to inhabit another living being, but it would be as if no time has passed from your PoV (if you could even remember it, that is, but you wont)
I doubt you'd be in the "dark" "forever", because given an infinite time, anything can come to be again.
Its possible your "soul" was a random animal before your "current life"
Idk if my rambling makes sens but...
But hey, that's just a theory, a Existential Pondering theory.