That is the million dollar question on fan life, so go many years with no issue, others seem to only last a couple years. Seems through talk on my contractor forum, region plays a big factor in fan life, the places seeing shortened fan life are typically southern regions where sun exposure really makes the attic a oven type environment constantly.
So take that for what its worth, wish I could say it will last 10yrs at least, but everything I've ever read on them points to a case by case scenario. My only advice, install a switched outlet near the fan, and install a cord with a plug on it so if and when it does **** the bed, swapping it out will be extremely fast and efficeint.
The only other viable option which we have done, when the roof needs to be replaced, add tails onto the rafters and give yourself 12~24" eave overhangs, that way you can then install a maintenance free draft system with the poly chutes in everry other rafter cavity and a ridge vent