With the amount of possible mistakes a person can make, especially when cocky, I choose to play to the death. I hate resignations.
Against a good player and in a long time control, I'll keep playing if I have any chance of getting local material superiority that leads to checkmate, pawn promotion, or regaining material. But if it's a straightforward loss with no such chance, I'll resign.
The only time I play till the bitter end when I am losing is if the jerk wad tells me to resign, then one move before checkmate I resign.
Well, if your opponent tells you to resign then you have to continue because it is considered bad manners to take advice from others during an on-going game.