Dear Pradepa,
There is a clear demarcation between friendship and flirting. And, if someone choses to be friends with a flirt. He / She pays for it. Like you have said colleagues are the ones with whom we spend most of our time, more so those who are single, like Mr. Deepak has highlighted, people who have left their family and childhood friends back home and relocated to a different place, they always look forward to bond with colleagues and make friends.
Each person has to act responsibly about their relationship with another.
As for divorce, please note that women are independent these days, some of them do not want to put up with the burden of running a family and supporting financially. Bottom line is tolerance levels have become less. Unlike, the (g)old days where women were dependant on the husband / father / son / sibling, who were/was the sole bread winner of the family. They play a dual role these days, they have additional responsibilities. Work place is a battlefield for a woman as well.... with equal employment opportunity and equal remuneration, no one is spared and definitely not by virtue of being a woman.
Though, I do buy your point when you say people need to know how to keep flirtarious men / women at bay. People have preferences and when such incidents (like suicide) happen it happens more out of guilt on cheating over the partner