My mother in law's cat is now occasionally sleeping in her litter box. What should we do?

Her cat, Ruby is 17 years old and has been in sound health her whole life and just keeps to herself most of the time. But in the last week or so she's been sleeping in her litter.
5 answers 5