As others have said, depends on the alternator and the aircraft.
I lost an alternator a couple years ago. Landed at a towered airport (coordinating via cell phone while in the air)
Left the battery on a charger at the FBO over night
Came back the next day, called the tower, received clearance...