As others have said, it depends on the employer and it also requires you to be upfront about it.
With that being said, I would recommend that you apply for employment in businesses that are open many more hours a day than 9 to 5. Note: a lot of folks hate to work night shift so employers often prize finding someone who wants the night shift, as in my neighbor who readily got night shift work at the 24-hour Super Wal-Mart, and several friends who were in high demand to work night shift at local hospitals.
When I was working for someone else, it was for a business that was open 8 to 5 seven days a week. Many employees hated to work weekends, so I volunteered to become the weekend manager, thus freeing me up two weekdays.
In addition, the majority of our cashiers were students – as long as they communicated their schedule needs each semester to their supervisor and worked their 40 hours per week there was never a problem. In fact, during slow periods they were allowed to do homework while at the register as long as they stopped immediately when a customer came in.
Also, while not particularly exciting work, many professional cleaning crews work in the evening and at night, cleaning offices that would be occupied during the day. My step-son did a lot of that when he was being a part-time single parent.