I don't quite follow - if a window is open and its raining, yes water will come in! If the window is shut and you have water ingress there is a problem.
Modern cars dont have 'gutters' as such so water can easily come in through open windows. Close em when its wet!