Resistance 2, and the reason is scale. Its online mode supports up to sixty players, so you get thirty-on-thirty matches rather than the five-on-five that Gears of War 2 caps at.
On a PS3 with an HDMI cable the difference is striking — Resistance 2 is a genuinely good-looking game, and the larger battles suit the visual sprawl.
That said, Gears 2 has the better campaign and co-op by a fair margin. So the honest split is: if you mainly want a single-player story or two-player co-op, Gears 2. If you want the biggest online battles available on either console, Resistance 2. And if you only ever fight one alien species, that's Resistance again.