Is you fold in poker when is your poker hand dead?
It truly depends on the place your playing. The rule of thumb is as soon as it touches the muck (discard pile) it’s dead. As long as a player controls and protects their cards they are live. As always verbal trumps everything.
When it hits the muck or when you verbalize 'fold'.