Parental leave - remote work in Sweden

Hej

My wife works remotely in Sweden for a company abroad (non-EU). Is she eligible for parental leave allowance/benefits from Försäkringskassan? How is it divided then if I work in Sweden?

Update: she moved with me to Sweden for my work but continued to work for the same company she worked before but remotely (not sent by her company). She pays taxes abroad (there is a tax treaty) and she received with me a residence permit (and personnummer).