You may activate Liliana’s last ability without choosing any target creatures. You’ll just put up to two creature cards onto the battlefield from graveyards. However, if you choose any targets and all of those targets become illegal before the ability tries to resolve, the ability won’t resolve and you won’t put any cards onto the battlefield.

Artwork
Loading artwork…
Liliana, the Necromancer
Core Set 2019 · #291 · EN
Nonfoil—Foil—
Card rules
+1: Target player loses 2 life.
−1: Return target creature card from your graveyard to your hand.
−7: Destroy up to two target creatures. Put up to two creature cards from graveyards onto the battlefield under your control.
Loyalty 4
Mythic · Illustrated by Livia Prima
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
For Liliana’s last ability, the creatures you’ll return to the battlefield are chosen after the target creatures are destroyed. No player may take actions between the time you choose two creature cards to return and the time they’re returned. The destroyed cards can be among those returned to the battlefield.
If any abilities trigger on the target creatures being destroyed, those abilities won’t be put onto the stack until after you’ve put creature cards onto the battlefield from graveyards.
In a multiplayer game, if a player leaves the game, all cards that player owns leave as well. If you leave the game, any permanents you control from Liliana’s third ability that came from other players’ graveyards are exiled.