how to tell what scene the player was previously in

you have 3 lives in a 2d platformer game, with in level the player goes below those 3 lives, then goes to a death screen how can i tell witch scene he previously in, so i can teleport him back to the spawn point in the level, when he presses the retry button i am very new to unity so if the answer is obvious then am sorry.

short version: is there a way in unity to tell what scene the player was in previously

There is no built in functionality for that. The only option you really have is to save the information like in PlayerPrefs.