At certain age, if you yourself will know its time. Its not like other career that doesn't need agility of your youth. Your skills doesn't depend on how fast you chop the spices but how good the taste of the recipe.
For us speculators, it's easy to say that they should just retire. We can't feel their desire to continue.
Desire isn't enough to win a fight. When the mind is still active but the body is lagging, you know it is time to retire. We can observe it in the fight too. As spectators, we are keener to changes than the ones who own the body. He might feel he is still in optimum condition but if the reflexes deny him then it is time to retire.
As for me, we should just let them do what they want. If at some point they experienced terrible losses and they feel their body is not cooperating now, they will retire right away without any hesitations. And even for let's say they want to continue, the promoters or organizers might not be interested now to form a fight and that will lead that old boxer to consider retiring and call it a career.
Definitely they can decide for themselves since it is their body. Only the owner of the body can decide for himself even though it is obvious that retirement is due.