Look on Apple's website and in the owners manual for the most correct answer, but generally keeping it plugged in is better for it, since that way you are not constantly "cycling" the battery, which wears it down quicker. That being said, I have also heard that you should cycle it at least once a month, so don't leave it plugged in constantly...