I found solution. When player respawns need to call this function:
API.NetworkResurrectLocalPlayer(X, Y, Z, 0, true, true);