One of my absolute best/closest friends started as someone I worked with.
Friendship is going on 30 years. I was the best man at his wedding and he was the best man at mine.
But theres also people I worked with and ate lunch with every single day that once I left the job, I never spoke to them again other than messages on social media.
So it can go either way
It takes zero effort to be a good person.