You must be in Norway or at the Norwegian border to claim asylum.
Who cannot claim asylum?
You cannot claim asylum if you want to come to Norway to work or study. The need for protection is the only reason for which asylum is granted. If you want to come to Norway for any other reason, you must apply to the Norwegian Directorate of Immigration (UDI) for a residence permit.