So if people are sharing a residence in good conscience, and it's not a near occasion of sin to them, and they are not indulging in illicit sex, there's no reason to deny them Communion.
In mortal sin, one should voluntarily exclude himself, since receiving Communion in sat sate, is another mortal sin in itself.
Mortal sin of a public, defiant, and unrepentant nature is the one reason a person should be denied Holy Communion by the person who is distributing Communion (priest, deacon, etc.), and then only if their sin is "obstinate, manifest and grave."
"Obstinate" means they have been warned, but unrepentantly persist.
"Manifest" means it is publicly known, open, defiant.
"Grave" means serious, as in mortal, sin. Which any sexual sin would be, e.g. hetero porn, anybody?
"Can. 915 - Those who have been excommunicated or interdicted after the imposition or declaration of the penalty and others obstinately persevering in manifest grave sin are not to be admitted to Holy Communion."
I just wanted to say thank you for the explanation of terms. It’s important to know what they mean.