Yes. Versioning is ON by default in SharePoint Online. All files are set for 500 versions. Versioning can also be enabled on document libraries by anyone that has administrative control over the library.
Last updated
Article number
3736