Noise: some writers enjoy absolute quiet. It's similar to a musician practising music in silence. Others will listen to music to jog their creative juices. Others will want the company of friends to bounce ideas.
Time: Some writers jot down thoughts just before they sleep. Early mornings hours work well for others, as fewer people are awake to bother them. Other writers may enjoy being badgered, and therefore write in between coffee break or other work sessions. Other writers will like long periods of undisturbed writing time, and dedicate their weekends to writing.
Location: establishing a particular building, room, or even a chair can help the writing process. This familiarity will train your brain to work creatively, or technically, to suit your goals. Some places give us the power to write; strange but true!