i disconnect the battery almost every time i work on the car. never had issues.
if disconnecting the airbag (i.e. steering wheel, door panels, seats), wait at least 15 minutes between battery disconnect, to airbag disconnect.
the reason for that is, the airbag system includes capacitors that keep the system alive, even if the battery is damaged (like in an accident for example).
just make sure when you disconnect the battery, that the
ignition is off. in fact, better if you keep the key in your pocket this time

in some cases, when the battery was disconnected for a long time, the RPM in idle are not stable at firs star up.
you need to drive the car for a wail, so the ECU and the MAF sensor can synchronize.