Track the revived event and the death event, then have a list of people (probably user ids (string)) that should be currently zombies. If a player rejoins and is in that ID list, then spawn them back in as a zombie.
Or just use the leaving event and check what role the person is, might be spectator so testing will have to be done.