Nothing bad happens, just that the Apple ID could still be logged in after the reset, and unless you’re still going to keep using the MacBook Air, it is not advisable.