As long as you control it, you will get to draw two cards when the target creature goes to the graveyard, regardless of whether it died due to having 0 toughness or something else.

Artwork
Loading artwork…
Desperate Measures
Tarkir: Dragonstorm · #78 · EN
Nonfoil—Foil—
Card rules
Target creature gets +1/-1 until end of turn. When it dies under your control this turn, draw two cards.
"Sing for us when we depart for battle, and sing for us if we fail to return." —Mardu parting
Uncommon · Illustrated by Gaboleps
Format legality
Alchemy Legal
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
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
If the creature is no longer a creature at the time it goes to the graveyard, you will still draw two cards if you controlled it at that time.