Can a car battery just died all of a sudden?

They die over time. But, that said, their failure tends to manifest itself all of a sudden. They can get weaker and harder to hold a charge, but they will still have enough voltage to start the car. Until the day comes when they get just weak enough not to start it.

IMPORTANT:  How many miles should you drive a new car to break it in?