Why yes! It certainly is! But you must understand that resonance is not a problem in itself, all material has a resonant frequency. The resonant frequency of a wine glass is pretty high. If a forcing frequency is close to the resonant frequency then you get high vibration of the mechanical system assuming there is little damping in that system. The high vibration in the wine glass breaks it, since there is little damping in the glass.
The forcing frequency in a earthquake is very low frequency less than 1 Hz for the most part. The resonant frequency of a glass window pane, is likely in the Kilo Hertz range. That is why I believe it is the frame deflection that breaks the glass. Now it is conceivable that the resonant frequency of the building or wall is resonant around the earthquake forcing frequency, and thus the wall deflections are very high causing high window frame deflection and breaking the glass.
For some perspective, the middle C on the piano is 261.63 Hz,the middle A on the piano is 440 Hz, high C on the piano is 4186 Hz. The opera singers who break wine glasses are probably singing in the area of a high C, or maybe even an octave above that, the high frequency response of my ears is not good enough to make it out. That is why I stick with the guitar, where you are playing an octave or two lower for the most part.