Hi,
i you currently are receiving Unemployment benefits, then you can keep the right to benefits for the 2-year period, regardless of you meet the new residence requirement from januar 1,2019, or not.
If you after the current 2-year period will be able to apply for a new 2-year period (requiring you have worked), then you must also meet the new residence requirement at that point.
The new requirement only applies for people who apply for Unemployment benefits after January 1, 2019.
Best regards,
Anders Weber, www.a-kasser.dk