I never played that, but according to its Wikipedia page “When a player is killed during a level, they are sent to the beginning of the level with all non-boss enemies re-spawned, while the player returns in soul form with lower maximum health and the loss of all unused souls.”
The real question is whether this makes Super Mario a souls-like.