Because resonance structures are the same molecules, they must have:
1) The same molecular formulas.
2) The same total number of electrons (same overall charge).
3) The same atoms connected together. Although, they can differ in whether the
connections are single, double or triple bonds.
Rules for Resonance
1. Resonance forms are imaginary. The real structure is a composite (hybrid) of the forms we imagine.
2. Don't move nuclei (only electrons "move").
3. Octet rule should not be violated (no more than 4 electron pairs).
4. Formal charge follows normal rules. Hint: the total formal charge will always be the same.
5. The more contributing structures, the more stable (but contributing forms need not be equally stable).
6. The more stable a contributing structure is, the more it contributes to the overall picture. The less stable it is, the less it contributes.