I’m a Unionen[1] member, so at least in Sweden this isn’t a requirement.
[1] https://www.unionen.se/in-english/this-is-unionen