Resetting two Arduinos sharing I2C with shared Reset pins

I'm working on something that needs to be able to reset two Arduino boards at the same time from a single button. I am aware that I can get a button that keeps the two Reset pins isolated from each other. What I am wondering is if I can connect the two Arduino Reset pins to one side of a button, and the other side of the button to the Ground pin. Will that shared connection between the Reset pins on the boards cause harm? Many thanks!

The two boards share a common Gnd? Then a common reset pin can be used.

Hey thanks for the speedy reply! Yeah they would be sharing the same ground & be connected via I2C...