Z.B.
This depends, in part, on what her afternoons & evenings look like. Does she get a break after school to run around? Does she have a snack? Are you waiting until after dinner to do homework?
My kids do best when they've had a snack and some time to run around. We try to get homework done before dinner, because after dinner we are usually focused on taking a bath and getting ready for bed.
But you have to find a time that works for you.
Also, how much homework are we talking about? My 2nd grader has homework a couple of nights each week, and it usually doesn't take more than 10 or 15 minutes. If she has more than that, maybe it's too much for her. She's in school all day, and at that age that's really a lot! It can be tough for them to be in school all day and then still have homework. Now, as they get older, that's different. But right now she shouldn't have too much.