It depends on a number of factors, including where and how you drive, the type of vehicle, and the materials of the brake pads themselves. Frequent city driving, driving through mountainous areas, or just braking abruptly more often than necessary will all decrease the lifespan of your brake pads.
Check your
owner's manual for more detailed information about how long your brake pads should last.