Question: what is it called when you believe in afterlife but not god?
Answer: I guess you meant what is it called to believe in an afterlife and not believe in a god. It's called an atheist who believes in an afterlife.