It is part of the job description for virtually every school-age child. We as parents must remember that school and homework are our children's jobs for at least twelve years - anything else is extra. While our children may get confused about which activities are their job and which are extracurricular, let's be sure we don't. In addition, it is our job to find opportunities for choices that our children can make within the decisions we must make. While you make the rule that homework will be done, they can help make the rules about how and when it will be done.
Children tend to take rules that they have helped make very seriously.
It's sort of hard to break your own rules. Your attitude toward homework sets the tone for your child's attitude toward homework. If you talk about homework as something to be dreaded, your child will dread it. If you resent the time spent helping your child with homework, your child will resent it. If you view homework as a valuable activity that enhances your child's learning experience, your child will value it.