Depends on the societies, and unis sometimes have very broad rules as well (e.g at Glasgow, at most 20% of members can be non-students). Though most of the societies I've been part of are cool with it (most of our non-student members are pretty recent graduates, but there's been a few students from other unis too)