Deleting a file moves it to Trash. It stays there for 30 days and can be restored to its original folder at any point in that window.
Open Trash
It is the last entry in the Collections group, above Storage and Billing. Everything deleted in the last 30 days is listed with the date it was deleted.
Restore
Pick the file and restore it. It returns to the folder it came from; if that folder no longer exists, it lands in My Files.
After 30 days the file is removed from primary storage and cannot be recovered by you or by support. Emptying Trash does the same thing immediately.