It depends on the quality of the construction and material of the basketball and how often you play with it, and how well you take care of it.
A rubber basketball, for example, should last about 6 months if you play with it for a few hours every day.
Composite leather basketballs are more durable. They should give you at least a year of constant use before the grip starts to go, maybe even several years.