Home Improvement Questions? Ask a Handyman for Answers
It depends entirely on the zoning requirements for where you live. There minimum setbacks (distance) from lot lines that must be maintained. The only way to find out what those setbacks are would be to call your city's code enforcement department (building inspector) or the engineering department. You'll probably need a recent lot survey to verify the distance your house and the proposed addition is from your property lines.
You have to hire a surveyor and have one done if you don't have one on hand from a previous real estate or mortgage transaction. If you don't have one on hand then it's best to check with the code enforcement office to find out just what they require