There is no all encompassing answer for that question as there are far to many variables. First, batteries deteriorate over time. If left in a discharged state, this can happen rapidly, but it varies with degree of discharge. Batteries also loose a little life every time they are discharged, with the amount again a variable based on how deeply they were discharged, and how soon, and how they were re charged. How rapidly the battery is discharged can affect life expectancy, and again how rapidly they were recharged can have an affect.
That said, I try and do a fair job of maintaining my batteries but do end up abusing them from time to time. 30 to 60 days average camping with 12 volt group 24's and I get somewhere between 5 and 9 years of useable life. Never had one start showing significant loss of performance in less than 5 years. A couple may have lasted past 9 but I get rid of my older batteries when I trade out rigs.