
It depends in what context you ask. Physically, a dog is capable of mating up until the day he dies of old age. Stud dogs are usually retired by about 11 or 12 for the good of their own health, and the fact that their fertility may well be waning. But it doesn't stop them wanting to try!
If you're asking if it is safe to leave an elderly dog with an in-season bitch, the answer is a resounding
NO!