Divorced persons are permitted to receive communion. Divorce does not carry any canonical penalties.
In your particular situation, since your ex-wife is now deceased, you would not even be considered a divorced person. The bond of marriage ceases at death.