I'd say two hours is a good time frame to allow for proper digestion, etc.,
I have always kept carbs (typically in the form of oatbran, about 2 hrs. pre-workout) in my cutting cycles and never really noticed any problems with consistently lowering my bodyfat. In the long run, I suppose it actually helped (in terms of muscle preservation and endurance during heavy lifting).