In theory - No problem
If you are married, then it should be no problem. It is your right. Likewise if you live outside Sweden and in a EU country, then your rights are exactly the same. Now, if you speak some scandinavian, then it would help.....but they can not use it as a reason for not giving you a job.
Cheers, Wadadli