I can only say what I think I would do...

If my W said she was moving out, I don't think I'd be having sex with her...at least, I don't think I should if I were in that situation.

If he's still going to work and supporting the family financially then I don't see anything wrong with doing basic family chores and errands, but that's me. If you're still living together and keeping the household functioning at minimum, it seems like your attitude could be..."I don't mind helping out because we are currently still all in this together, etc.".

However, I'd be sure I had my mind right so that my spouse wasn't sucking me into fights (you didn't iron my shirts right), etc.

Only you know the real dynamic there and what might be going on with your H. My vote would be that chores and household/family tasks that are helpful are fine, intimacy and sex and affection with a move-out looming on the horizon would not be for me. That's a situation in need of a boundary ("If you're moving out in X weeks, I don't feel comfortable doing that at this time.").

If he says he's going to stay, or gives a vague response, or pressures you, I'd just say that if we decide to work on the marriage together at some point, then once I'm comfortable we're making progress that would be on the table again."

At least, that's my thinking about it.