Osteoporosis isn't typically associated with a shortened life span.
However, fractures, especially hip fractures, are associated with a shortened life span. Osteoporosis increases the risk of these fractures and can increase your risk of a decreased life span. But osteoporosis treatment can lower these risks.