An AC compressor is not a maintenance part you are expected to replace regularly. The AC compressor only needs to be replaced if it fails. They can last the lifetime of the car, but a compressor's lifespan is generally around 10-12 years and 150K miles. Regular air conditioner maintenance and promptly repairing any AC problems will extend the life of the AC compressor.