Zoning is region specific and varies from city to city and county to county. A book on that probably doesn't exist (or, if it does, there's a decent chance the info wouldn't be helpful for your area). Best bet is to talk to your local planning department or equivalent.
Residential code is a bit more universal. Assuming you aren't a / aren't going to hire a design professional, a good place to start is probably the ICC's "Code Essential" books. I've heard (but can't personally confirm) that those are pretty handy if you aren't someone who knows code. There's also books like the DeWalt Residential Construction Codes book, but I don't think that's up to date anymore.
A quick breakdown of residential code:
Chapter 1 you can essentially ignore for the time being.
Chapter 2 has definitions. Important for when going through the other chapters.
Chapter 3 has most scoping and general requirements. Start here, look through the sections one by one. If your house will have something listed in this chapter, read that section to see when requirements there are.
Chapter 4 is all about foundations and their requirements.
Chapter 5 is all about floors and their requirements.
Chapter 6 is all about walls and their construction.
Chapter 7 is all about wall coverings. Think plaster, tile, water-resistant barriers, flashing, etc.
etc. etc. The book is long. Here's a link to all the chapters for reference:
https://codes.iccsafe.org/content/IRC2021P3/chapter-3-building-planning#IRC2021P3_Pt03_Ch03_SecR302
In my experience, I'd recommend starting at Chapter 3, reference chapter 2 as needed, and work your way through the first 10 chapters either in order or when something else comes up. Or at least skim it so you know where sections are for future reference. For example, if you're working through chapter 3, you'll hit section R307.1. This section deals with bathrooms and immediately references section P2705.1. That section deals with installation requirements for plumbing fixtures. Look at both sections when designing the restrooms fixtures.
Or, just start drawing the house. Whenever you draw
anything (a room, a wall, the roof, etc.), check code to see what the requirements are for it. It's a bit more tedious, but this way you'll address things as they come up rather than trying to design a place in order based on code.
Or these options are insane and there's a better method a normal person could use. Idk, I'm sure someone else will pop in to either agree with me or roast my insane opinion haha.
My recommendation: hire an architect or engineer who designs homes. That'll likely be far quicker than going in with no code knowledge. If you're dead set on doing it yourself, subscribe to the ICC's digital codes (make sure you select the right code for you - I believe the 2021 IRC). Makes looking things up a lot easier.