means that
clear boundaries and respect for privacy can help maintain harmonious relationships between neighbours or other people.
For example, when people respect the privacy of each others, when they have well defined borders between them, they are going to have very good relationships. This is a situation where “Good fences make good neighbours” applies.