If a spell or ability resolves during your main phase, causing a creature card to be put into your graveyard, you’ll have priority immediately afterward. You can activate the creature card’s embalm ability before any player can exile it, if it’s legal for you to do so.