Depends. I'd want to know what the place is. There are some pretty nasty hotels out there including single room occupancy hotels where there's drug dealing, prostitution, and possibly gunfire.
I've stayed at a place that was pretty bad with my mother when we wanted to be around Sacramento where my dad was at a hospital. That was one heck of an experience. I've never even stayed at a cheap motel that was that bad. We returned a couple of days later but stayed elsewhere for about the same price and it was like night and day. It was worth it even if it was 10 miles further away from the hospital.
But if it's just a dumpy hotel that might need a little better care, then yeah.