You can do either. It makes little difference. With a MBA I would shut it off when you are traveling with it and when you don't plan to use it for 24 hours or more. Otherwise, leave it plugged in to the AC charger.
About Batteries in Modern Apple Laptops