You should not store your Zotero library in a cloud storage because it may cause problems: https://www.zotero.org/support/kb/data_directory_in_cloud_storage_folder.
If you are using a Mac that synchronizes to iCloud, you can store your Zotero library in a folder that is not part of the synchronization. For instance, the folder Applications, is usually a safe place.