Scheeeter(?) showed that people who performed an undemanding task (during which their mind was presumably wandering) performed better on a subsequent test of creative thinking than those who performed a demanding task that required more focused attention.
Quotes are taken from the research journals of Kyle Vanderburg.