does the gov’t have to resign?
Probably not; the way it works here is that the government only resigns if defeated on a “confidence” issue. Since the bill was not supported by the government (their members abstained from the vote), its defeat was not a vote against the government.