No, the airbag module does not need to be replaced unless it is actually damaged or faulty. Airbag modules can be damaged from water damage, fire damage, corrosion and others.
Most dealers will tell you that the module needs to be replaced because they will charge you $500 up to $1,000 , but most modules are able to be reset for $50.
If you scan your vehicle and get an “Internal fault” code, that means the module is actually damaged and will need to be replaced. If you are able to communicate with the module, then you should be able to get it reset rather than buying a new one.