There are a few reasons why all the coops I've built are off the ground.
Many predators dig their way into a coop. A coop a couple of feet at least off the ground pretty much solves that problem.
If you can inspect the underside of a coop floor there is less chance of you not noticing rot or...