Hi,
as an unemployed you have right to 104 weeks with dagpenge.
if you are unemployed when you go on maternity leave, then the period with barselsdagpenge will not be deducted from the 104 weeks.
So this means - as you say - that you just will go back and continue the regular dagpenge from where you left. And you can receive the rest up to 104 weeks.
Best regards,
Anders, www.a-kasser.dk