You can rename a file in any space where you have permission to edit.
This page is about renaming a single file. To rename multiple files as a group, see Rename a batch of files.
Good to know: The files in a folder or space may be sorted alphabetically. In this case, a renamed file may move position in the pane in which it is being viewed. To change how files are sorted in a pane, see Adjust viewing pane settings.