If the lines are coated they will last a long time. If the braid is exposed these should be changed about once every two years, depending on the dirt they are exposed to for street cars.
Exposed Braided lines will get dirt lodged in between the braids and this can grind against the internal hose and fail. On race cars with these type of lines we change them once a season regardless.
HTH,
LarryB