I have kept it for 6 days in a dark closet, then when I went to spray again, I shook the sprayer really well to get it mixed back up.  Ideally, the gallon solution is to be used immediately.