Depends on your city - I'll use mine as an example. I am not allowed to keep a non-running car outdoors, even if it's on my own driveway. It must be in a garage. Even if it did run just fine, but I was using it as storage and never drove it anywhere, they would likely slap a notice on it giving me 96 hours to move it to a garage. I don't think they could/would force me to clean the interior of the car, but they would tow it away and charge me the tow truck fee if I failed to act on the notice before 96hrs. In this day and age most cities will have a public website where you can view all these pesky little rules.