For applying for residency in Ukraine you need to have some reasons.
For example work in a Ukrainian company, establish own company in Ukraine, marry Ukrainian citizens or do some volunteer activity and etc. If you have some of these reasons you can get a VISA D in any Ukrainian embassy abroad of Ukraine. After that, you can apply for residency.
Except for documents that prove reasons for getting residency, you will need to prepare medical insurance for a 1-year term, pay a government fee in the amount of 20 $, invitation letter from a person/company/NGO who invited you to Ukraine. You will get residency in 10 days after your application. As you get residency in 30 days you will need to get a registration address.
This is a full procedure to get temporal residency in Ukraine. You can use some advisors to get this residency. For example, lawyers from firms take 300 $ from one temporal residency permit. The cost of such a service in Ukraine is from 300 to 750 $. I hope I helped you with this information.