Since you're better aware of situations in the developed countries where there is a lot of interaction of men with women, what is the ruling regarding having female friends provided one remains respectful with each other?

In light of the Hadith interactions with the opposite gender must be minimal and only to the extent which is necessary.