So, in that case, you probably want to just put some sort of boolean guard around the logic you want to "skip" when your player dies. Something like:
var alive = true
func _physics_process(delta):
if alive:
# do normal "alive" processing
Then, when your player "dies", just set the alive
variable to false
to skip the _physics_process()
logic.