As with any agricultural enterprise, keeping chickens is subject to a variety of often complex laws and regulations. Most towns and cities in the USA have some local law and/or ordinance regarding livestock and poultry in place and no two towns' restrictions and allowances are identical.
So...