Maybe, maybe not; I've seen it go both ways.
If the metals aren't touching, e.g., there's a gasket or O-ring, not much will happen.
I've left a bunch of brass fittings soaking in water in the bottom of an aluminium pot; the bottom of the pot was cratered all to hell when I dumped it out.