a. the marriage was entered into or the cohabitation was established before the time of the sponsor’s entry into Norway, or b. the parties have entered into marriage or lived in an established cohabitation in Norway while both have held a residence permit or Norwegian or Nordic citizenship.