I would generally say this as well. Again this will sometimes go to ages in life, locations, and things like how long you were single/dating, years between, etc. I live in a large area that is very much like a small town. Chances are very high people you once dated end up with someone you know even if in a distant way. And the older you get, the higher the chance is.
Someone may have messed with someone in high school or college and came across them again later in life. No reason to not be a friend with them. For me, men I've been involved with I had a strong friendship with. Just because it didn't work for us to have a relationship, or we weren't sexually compatible, doesn't mean we can't be friends. Often the case has been that there have been several/many years between the involvement and the secondary friendship. I've introduced exes to other women and I've had exes introduce me to other men. But then I'm single too, and have been for some time. I have male friends that I may have dated 20 years ago. There isn't any chance of anything going on with them, and there is no threat of any type to a relationship I would enter into.
In the case of my marriage, his family was very ingrained/prominent in the area and he had/has a somewhat high profile in the industry he is in. My family was also pretty well networked and so was I. A couple of guys I had known were friends of his friends or relatives. Some may work in/around the same business. They were acquaintances of his prior to our meeting. Kindof like in the same outer circles. It's not like I was hanging out with them, confiding in them, or best buds. More of a situation where we would see each other at events or cross paths, kids may be in the same activities, on the Christmas card lists, go to the same church, etc. In a couple of cases, we hadn't really continued a friendship but then kindof reconnected oddly through my ex and we all became friends.