Actually, I think you are much safer against viruses if you data and apps are in the cloud.
Ask yourself what is likely to be safer? Your Microsoft Office 365 apps and OneDrive online storage with Microsoft experts running it in their secured data centers, backed up in multiple locations, and where they can virus protect the whazoo out of it? Or on your laptop where if you open an email and click a link you can infect your laptop?