I am pretty sure that this functionality used to exist but nowadays trying to open relevant file gets only error.
You can, as workaround, search for a relevant code or manually follow path but that is quite silly.
Android Studio Electric Eel | 2022.1.1 Patch 1
Build #AI-221.6008.13.2211.9514443, built on January 21, 2023
Ubuntu 20.04.5 LTS, running Lubuntu
In the past Android Studio supported path with a space but one of version regressed.
As Android Studio bug reports are ignored anyway, I have decided to not report it but rather renamed my folder.
I guess that software in AD 3020 will still tend to fail with files and folders that has spaces in them or use letters like Ó or Ę.