No, you’re not required to have any insurance for your apartment. However, it’s a good idea to get building insurance if you want to make sure that you have a financial backup in the event of any sort of damage.
If you’re renting an apartment, you should consider getting contents insurance. Contents insurance can cover your personal possessions in the event of theft, loss, or damage from natural disasters, flooding, storms, or flooding.