According to Russia's Federal Law of Migration, each international student/tourist/visitor should be registered. It is a lengthy bureaucratic process required for all visitors.
In case you choose to rent an apartment, you will need to make sure you are following all migration regulations. Learn more information about migration
here.