From my understanding, there is no immediate detrimental effect if you unplug early, but a battery's life-span is partially determined by its charge cycles.
The less you need to charge, the better. If you unplug early, then naturally you have to recharge sooner.