In addition to both those answers...
Generally there is usually a 'penalty maintenance' check performed when bringing an aeroplane out of deep , long term storage, this may be a B, C or D check , depending on manufacturers requirements,
as specified in chapter 10 of aircraft maintenance manual.
However, the numbers of MRO with availability to carry out said checks might be limited . It's why certain types it is better to keep active as a ' long term parked ' tail, rather than storage tail, due to the complexity of check required.
Likewise, different manufacturers have different definitions of what is (or isn't) considered long term, it can be as little as 45 days inactivity and the penalty check becomes due.