Yes, the MagSafe charger will stop charging your device when it's fully charged. However it can reduce battery capacity if done too often, such as every night. Following Apple's Optimized Battery Charging advice can help reduce damaging battery capacity level.