You can't get a temp resident permit unless you are married to him or have some sort of permanent job or business investment in Russia. To go for a 30 day visit you can get a visitor visa but a business visa is best for anything longer. Check out expat.ru for more info on visas and registration. Don't forget that the hardest part of going to Russia is the registration when you get there.