That is correct. Any time any of your Pokemon dies, from any effect or damage, and they have Life Dew attached, then your opponent takes one fewer Prize card. Even if Cofagrigus kills himself, your opponent can't take a Prize card if it has Life Dew attached when you suicide.