For beginner players, who tend to blunder a piece or mate in one regularly, there is no point to resign early. Any game, even in (objectively) clearly lost position will help them to gain experience.
For more advanced players, the decision to resign will depend on various factors and cannot be generalized.
Most importantly, an objectively clearly won/lost position can be of very different character. If it is a quiet, easy to calculate (e.g. endgame) position with few pieces on the board, and a clear easy to see winning plan, there is not much point to continue the game. On the other hand, if it is a wild position with lots of pieces and tactics, there are many chances for your opponent to go wrong and you would not resign immediately.
Some factors to take into account before resigning:
- Do I have any chances for active counterplay?
- Do I have any chances for drawing (building a fortress, stalemate,...)?
- Is the position easily won for my opponent or is it rather a "theoretical" win, but difficult to do in "practice"? (e.g.
- How much time does my opponent have left?
- Over the last couple of moves, did my opponent show that he understands how to play the position for a win?
Similar things hold for the question: "Should I offer a draw?".