Welcome and hello

These are tough relationships, and leaving can be difficult. I'm so sorry you're in a very abusive relationship, and hope you're safe.
It's good that you're reaching out for help from friends here who understand what it's like. Being abused AND alone is rough
Have you consulted with a lawyer? Ideally more than one. Consultations are usually a couple hundred, sometimes more if you live in an urban area. That will give you some concrete information to guide you, so you can start to make a plan. I found having a plan helped put everything into focus, and my feelings weren't so jacked up.
Whatever you do, don't tell your spouse you've consulted with an L!
If you don't have kids, it might be ok to consult with one L, but honestly, finding a good one can make all the difference in our cases so it's probably worth the extra $$ just to experience a few different consultations.
And then start planning. I photocopied all important paperwork and stored it somewhere else. I got a storage locker and began removing nostalgic items (they usually get destroyed first). Others here recommend video taping your home and belongings so you have a digital copy of what items you had, and what condition they were in. Get a credit card in your name only. Open a bank account in your name only. If you can, put a little extra cash in the account. You might even want to get a prepaid phone or a number your spouse cannot monitor. Do not use a shared computer to look into divorce or BPD, and if you have the means, get a therapist.
If you don't have kids, things will be less complicated from a legal perspective, but BPD traits will make even the most innocuous thing a major obstacle. This board is great for helping you leverage your lawyer's counsel so that you don't end up leaving everything to the discretion of the judge, if it comes to that.
For example, make sure your L writes up all of the orders, even if it costs you more. And add contingencies for non-compliance so that failure to comply (which will be all but inevitable) has a consequence that is reasonable and likely to work in your favor.
Probably getting ahead of myself here.

Best thing at this point is to talk to lawyers and then, if you are comfortable doing so, share your thoughts here and get peer support about whether the lawyers' strategies are good taking into consideration BPD antics and whatnot.
You'll have to be a little more vigilant than most lawyers are when it comes to extracting yourself, so they'll supply the strategy and you'll have to goose them to make sure things are locked down.
We're here for you. You don't have to walk this alone.
LnL