I live in town and can only have four chickens.
Yah, right... we've heard that before!
Roosts are where chickens sleep at night. You should allow 10" for each bird, so 40" of roost space for your 4 chickens. They will, however, often crush against each other and only use 1/2 that space... but offer it, just in case. Most people put their roosts toward the top of the hen house. Chickens love to get higher when they sleep, so they'll typically get up to the highest point they can. Thus, why you want the roosts higher than the nest boxes.
Nest boxes are where the chickens lay their eggs. They are generally 12x12 in size (depending on the breed you have), some people use 5 gallons buckets with the lid off and cut in half then put back on, some people use milk crates. Usually you would put the nest boxes a few inches or foot off the ground. Some people set them on the ground and some people put them 2 ft. off the floor. Again, what works for you in your situation. It's nice to have a "perch" just outside the nest boxes (if they are in the air) so that the chickens can jump up onto the perch and then walk into the box.
One nest box for every 4 chickens is fine. So, you could have just one. I'd suggest having two, though, if you have the space just so there's a 2nd choice if one hen is using the other nest box. Then again, I have 8 nest boxes and my chickens almost always use the same three!