Hanging a bike is better than putting it on the ground for various reasons.
If the tires would deflate over winter, the tires will not be be squished.
If a little kid is around your house, especially one like my almost 2 year old son, your bike will be safe instead of wrecked.
In general it will be safer from people passing with big things in their hands, possibly hitting it.