Some of my ideas are from expired domains.
Although an idea of domain name can come out of nowhere.
Whenever any name or something hits you as interesting, write it down in your notepad or something. Later think about it while you have time. If you follow any definite procedures to get ideas then you might turn out repeating your own ideas.