Was that an emotional affair? An emotional affair is romantic. This one was just a close friendship that had more emotional intimacy than the marriage at the time. Sounds like the divorce was for the best though.
Friends are great but if you are unable to talk to your spouse and rely on a friend instead, it's a sign of major problems in the relationship.