After a dive trip, I take out the main o-ring for the housing and the extensions and ports, wash them with water and soap, rinse them, let them dry and lube them with the grease supplied by the brand (small amount, only to get them shiny).
I clean the groove on the housing/extensions/ports and then, I put the o-rings back in place.
The housing stays closed, but without any port, to grant that there is no vacuum inside (for instance in the airplane), although nowadays, with housings with vacuum system, it is not a big problem anymore as opening the vacuum valve the housing can be equalized and easily opened (of course, if you have a vacuum system installed).
if possible, I do this even before traveling home. And when done, at home I do not touch the housing no more. Straight to “storage”.
I believe that air and UV light do more damage to the o-ring than to be in place….
If to have the o-rings in place when storage were a problem, all the buttons o-rings should be replaced between diving seasons/travels….
Nevertheless, I also believe that if you take out the o-rings, clean them, lightly lube them and keep them inside a plastic bag in a dark place (out of daylight) it won’t do any harm.