No, it is not necessary. There are YM NeighborNets which are the official youth groups of their local masjid but this is not a requirement to join. Meetings do not even have to necessarily take place in a Masjid. Whatever location best suits the growth and development of the NeighborNet should be chosen.