I've had a few cats. One lived for around 18-19 years. Until he came home with a broken or dislocated jaw and vet wouldnt operate. He was more of a wild cat so loved to go out but preferred to spend evenings indoors though.
The others I had preferred to stay within the garden.