Yes, all the google docs, google sheets and google slides have a unique feature of saving the data as soon as the user types in the document. Hence no work is done by the machine is lost due to things such as closing of the file or power outages.