No matter how domesticated a cat is, their natural instinct will often be to sleep with their eyes partially open. You may even notice their eyes moving around while they are still asleep.
Predators hunt! And they certainly don't want to be hunted in return.
Fun fact: Cats are also capable of uni-hemispheric slow-wave sleep where they sleep w/ only half of their brain (one eye open, one eye closed)