It's written in the Marriott Rewards Terms and Conditions that accounts may be closed and points forfeited if there is no activity in a 24 month period.
See #7 under "General Membership".
However, it's not been Marriott's practice to actually follow thru on that - I've never heard of an account being closed for lack of activity.