It depends on the definition of livestock. Livestock is livestock whether it's located outside, in a barn, or in your house. True, law enforcement isn't likely going to come a-peeking in your windows or listening at your door (unless you're somehow causing a ruckus otherwise), but should they ever have to enter for any other reason and see them, it could be an issue.
Also, keep in mind the square footage requirements for chickens and remember that they need a whole lot more horizontal space than vertical.
Also, keep in mind the square footage requirements for chickens and remember that they need a whole lot more horizontal space than vertical.