If the target creature card is an illegal target as Sheoldred's Restoration tries to resolve (usually because the card has been removed from the graveyard in response), it won't do anything. You won't gain or lose life, and Sheoldred's Restoration will go to the graveyard rather than be exiled by its last ability.

Artwork
Loading artwork…
Sheoldred's Restoration
Dominaria United · #108 · EN
Nonfoil—Foil—
Card rules
Kicker 2
(You may pay an additional 2
as you cast this spell.)
Return target creature card from your graveyard to the battlefield. If this spell was kicked, you gain life equal to that card's mana value. Otherwise, you lose that much life.
Exile Sheoldred's Restoration.
Uncommon · Illustrated by Igor Kieryluk
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If you put a permanent with a kicker ability onto the battlefield without casting it, you can't kick it.
If a spell's kicker cost was paid, the spell is "kicked."
If you copy a kicked spell on the stack, the copy is also kicked. If the copied spell is a permanent spell, the token the copy of that spell becomes when it enters is also kicked.
If a card or token enters as a copy of a permanent, the new permanent isn't kicked, even if the original was.
The kicker ability doesn't let you pay a kicker cost more than once.
To determine a spell's total cost, start with the mana cost (or an alternative cost if another card's effect allows you to pay one instead), add any cost increases (such as kicker), then apply any cost reductions. The spell's mana value remains unchanged, no matter what the total cost to cast it was.