Apply In Your Place Of Residence For Your Visa
For example, If you live in America, you must apply there for the shared values visa. Once issued, come to Russia and apply for your 3 year temporary residence permit (TRP). Once you know basic Russian and learn Russian history, you can switch to Permanent residence which normally takes about 1 year.