You are very confused about this issue. When you are involuntarily divorced, there is no barrier to receiving Communion.
When your spouse leaves you, so long as you do not take up with another partner you are not in sin by the fact that the spouse decamped. There was no “divorce.” Depending on the circumstance you may or may not be able to get the marriage annulled.