What Is The Morning Writing Effect?

Yet another version might be that sleep itself is the key: sleep, aside from any resetting, is also responsible for memory formation and appears involved in unconscious processes of creativity.

A fascinating read - full of relevant data.