not necessarily ... we are putting our coop inside of our run but have raised the coop 20" off the ground so they can roam underneath the coop as well.
Just make sure you can reach anywhere the chickens can get to.
Speaking as a person who was only able to access floor eggs under the coop by sending in a child with a hoe.