It really depends on the people and the environment. I’ve worked places where the whole crew would go out after work quite frequently, and we had a great time, other places, I barely learned people’s names.
I like chatting with coworkers and building a “more than just a coworker” relationship, but I don’t need it, so I don’t push for it. More of a door’s open if you want, kind of thing for me.