Communion is taken when the receiver is not living with an unresolved grave sin.
For example, if I divorce, that is not of itself a grave sin. If I remarry, that is, because in the eyes of the church I will have committed bigamy. Subsequently, I will be disallowed communion ever again.