A foreign driving licence issued in a country outside the EEA is not valid in Sweden if you have been registered here for more than a year. As long as you are not registered in Sweden, there is no time limit for how long you are allowed to drive in the country. If you have a foreign driving licence issued in an country within the EEA you may continue driving as long as the driving licence is still valid.