Is she expected to willingly submit to this discipline?
If not, she will forcibly receive the punishment. It doesnt really matter how the wife acts when she will be punished. The punishment will occur no matter what.
But yes, ideally she should just know her fault and willingly submit to this disipline, since she is also a muslim and knows the rules.