Do babies that don’t make it long into life have an afterlife?

I’m meaning in situations where very young lives don’t make it long or if ever due events such as SIDs, abortion, still births exc.

I would love to know if anyone else has ever thought about this.
Do babies that don’t make it long into life have an afterlife?
Post Opinion