It all depends. Most of my coworkers are friendly, some are friends. We respect each other, etc, but it most cases any contacts end when someone leaves the company. The key marker is can I discuss any matters, including inappropriate, politically incorrect? In most cases not. But with true friend we can discuss anything without a fear of being reported. And we are still in contact many year after.