Are you from a safe country? You have little chance of being granted a residence permit asylum. You follow a fast asylum procedure, focused on the return to your country of origin. After the first negative decision your housing facility stops. You will get a letter of departure and an entry ban of two years for the EU. The IOM will not give you a return grant.
You apply for asylum in the first EU/EEA country you enter during your journey. If, at a later date, you also apply for asylum in the Netherlands, the IND could send you back to the first EU country in question.