I'm very location specific with my writing. I pretty much MUST be at my desk in my room in the quiet. (I also rise freakishly early in the morning to get the quiet and solitude I need.)

But I also have several projects going at once and one idea I had for achieving balance is to devote different TIMES of the day to different projects. My "literary" stuff gets the early morning hours. But the cozy mysteries could be during the afternoons. Or even at the library.

Compartmentalizing your efforts might help you control them more.

But as others have said, there's no such thing as wasted writing. If the ideas a flowing, get them down!