A cat sleeping in a sitting position is exposing their belly, which means they feel safe. In addition, sitting up gives a cat easier access to groom their belly with less effort between naps. Cats sleeping in a sitting position may also be doing it to support their back muscles.