You don't have to choose a target for Gollum's second ability. However, if you do and that target becomes illegal by the time the ability tries to resolve, it will not resolve. Each opponent will not lose 2 life.

Artwork
Loading artwork…
Gollum the Abandoned
The Hobbit · #72 · EN
Nonfoil—Foil—
Card rules
Gollum can't block.
When Gollum enters, exile up to one target card from an opponent's graveyard. Each opponent loses 2 life.
2, Sacrifice an artifact or creature: Return this card from your graveyard to your hand. Activate only as a sorcery.
2/2
"Where iss it? Losst it is, my precious!"
Uncommon · Illustrated by Andrea Piparo
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions