Call your local town hall and speak with someone in code enforcement. Don't give out your specific information, just ask an anonymous question. Someone there should be able to answer your question. All towns have different zoning regulations.
While you are asking, try to get a list of Certificate of Occupancy items required to pass inspection. This way, you wil know everything you will need to do to bring your rental unit to code.
Also, get in touch with a local realtor or attorney to find out about the landlord/tenant laws in your state. being able to rent (having a rental property) and knowing what your obligations are as a landlord are two different things.