Android phones store up to 500 call logs, deleting the oldest ones as new logs are created. To avoid losing this data, it's best to regularly save or print your call history.
The Droid Transfer user guide linked below will show you how to back up your call logs to your computer or print them, whether for personal reference or legal purposes: