The information below concerns mostly young people because when my parents were young, people in Russia could get an apartment for free.
Eh… I said “for free”? No, it was joke. People worked hard for the same company 5-10-15 years to get an apartment. It was ok. The situation changed when the USSR fell into pieces.