I think it's very important, many years ago we moved house to live in the north, and having a baby I got to know as many of our neighbours as I could. I went to every mum and toddler group going in the small town, I went to sing-a-longs in the local library, went to the mums group at the chapel and participated in whatever brownies and guiding events too place, and joined in with the WI etc. I enjoyed it immensely and, although, a distance from my home town, I felt part of the area.
It all changed when we moved a long distance away south to the coast and found the people less friendly. I think even if you lived there for 20 yrs you would never really fit in. Community is all about making newcomers welcome and not feeling like they have no place there, no incomers allowed. Or as one of my elderly neighbours told me back then, we don't like new people we don't know what they're like!! I never got to know either him or his wife in all the years we lived there.