Yes, it depends on whether he is currently living chastely and observing the commandments of God. If he is not married in the Church, he cannot live a conjugal life. However, if he is living in abstinence, is chaste, and repents of his sins, then, of course, he can receive Communion. But it also depends on the situation, especially if he is cohabiting with another person, and this is known in his environment. In that case, he must not go to Holy Communion, because even if he is living chastely with his partner or in abstinence, he would cause scandal. After all, people do not know that he is living chastely, nor can he realistically tell everyone or the Church, "I'm living chastely."
Therefore, if he is living chastely and in abstinence, he can receive Holy Communion, but only without causing scandal and in exceptional circumstances. However, if he wants to regularly receive the sacraments, he must separate himself from his partner or, when possible, marry in the Church. This would be the right course of action.
Dear visitors of Gloria Dei and all who have already written or who will write a personal message to me. I am grateful for your attention, your kindness, for your spiritual support and especially for your sacrifices and prayers for me. God may reward you!