Muster the Departed doesn't need to have been on the battlefield when the creature died. For example, if a creature dies during combat on your turn and you cast Muster the Departed during your second main phase, its last ability will trigger at the beginning of your end step.