You don't have to choose a target for Mourner's Surprise. However, if you do, and that creature card is an illegal target at the time Mourner's Surprise tries to resolve, it won't resolve and none of its effects will happen. You won't create a Mercenary token.

Artwork
Loading artwork…
Mourner's Surprise
Outlaws of Thunder Junction · #94 · EN
Nonfoil—Foil—
Card rules
Return up to one target creature card from your graveyard to your hand. Create a 1/1 red Mercenary creature token with "
: Target creature you control gets +1/+0 until end of turn. Activate only as a sorcery."
"Y'all should've known better than to buy me a coffin!"
Common · Illustrated by Zuzanna Wużyk
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions