Your post was a little difficult to comprehend OP, but I think I got the gist of it.
I am guessing since the parents are having marital problems that things have taken a different path than the one that they originally had planned on.
Perhaps they are planning on a legal separation & will have less money to afford a Nanny.
That is my guess.
Or to cut co$t$, they are switching to daycare.
Whatever the reason, I am so sorry about the loss of your job so suddenly.
These situations are never easy.
Good luck to you in finding a new family to work for.
Hopefully you can/will find a great family to work for soon.