Our immune system benefit massively from remaining active. Research has shown that our immune systems are boosted immensely by the hormones and other effects that come from moderately intense exercise.
Additionally, a lack of Vitamin D has been measured in those who most struggled with the virus. 96% of those who have sadly left us due to the virus lacked sufficient vitamin D, which can be absorbed primarily through exercise and staying active.