You can put your mattress on the sidewalk, but make sure it's not blocking the sidewalk or protruding into the street. You may be fined if you don't comply with these regulations.