Homework is bad because for some kids it can be impossible - like what if you have to care for your younger siblings, or your home has no desk space or quiet place to work?
To be honest extending the school day would probably make the most sense as it would help working parents as well if children left school at 5pm or 6pm.