Hello Parthi dharan,
you can stay in Germany when:-
- the marriage or civil partnership has existed for at least three years, up to at least one year in Germany, before the judicial divorce or annulment proceedings are initiated
and
when you have a job here or you are searching for one.
The family members generally retain their status, which is expressed in the residence card.
If you yourself have the status of a citizen of the Union with the right to free movement, then you acquire the right of permanent residence after 5 years.
Please feel free to contact me again.. In case you need a confidential consultation you can also write me at mbeon, which provides advice for adult immigrants in Germany via an app. Download the app at Google Play or App Store and get in touch with me or 160 other migration advisors. It's free of charge, anonymous, data secure and you can get advice in 15 different languages. Find more information here: ***.mbeon.de
Best regards
manrhei-mbeon