In addition to a good night sleep and plenty of rest to enable the brain to consolidate information learned during the day, the brain also benefits from quiet moments during the day.
A quiet moment does not involve any goal, task completion, or endpoint. It is about process and about being in the here and now. A quiet moment can occur anywhere at any time so long as you permit your brain to shut down and to turn inward.
Removing structure and demand from your existence enables your brain to freely roam and to explore ideas and feelings that get shut out with structure and task driven behavior. Your most creative moments will come from such experiences.
It is not easy to create quiet moments. You need to establish parts of your day when you remove all chores, all responsibilities, and all task demands. It is simply time to be, for you to exist. It might mean a walk, sitting on a bench or under a tree, or playing an instrument. There is no conscious deliberation, it is meditative and introspective.
Sounds easy, but it is not. Give it a try and perhaps you will get in touch with your creative side!