Please know you are not alone. You are not the first to travel this journey so; as you are doing, look at the experiences of others. You WILL NOT find the solution to all your concerns here BUT you will receive supportive answers that will allow you to consider and plan your own strategy for you both maintain a quality / balanced way
It may sound callus but think of your own well being first. Look and talk to your family and friends to know who will be there at the conclusion of the justice process. You will need them more than him. The possible impact of the Court's decision on you both financially and emotionally is unknown but that does not stop you from ensuring you are prepared. To be prepared for the worse scenario, have the addresses to contact supportive organisations, in fact any and including Prisoner support services documented. Ensure you have access to any joint banking etc liabilities and can authorise any changes or whatever.
Organising these elements of your life together now will help distract you from the legal process. More importantly this will be easier now than afterwards when emotions will be stressed.
For him and you I will offer one bit of advice I found very beneficial when preparing for my "stay away":
Forget about time as you know it as you will discover it is an irrelevant measurement.
These simple words I quickly learnt to be very true. From the moment the Courts handed me over to the Prison Service any control over when or how I did something was relinquished. I asked a simple question expecting an answer straight away, that would not happen. The worse example in memory was waiting for a month for a simple yes or no. Do not think repeating or reminding the official you are waiting for an answer will help; quite possibly it will be the reverse.
You may not think the above is an essential but believe me "time" can be the most emotional and stressful element of our mental well being and so our quality of life.
I do not consider myself a master of legal words and options but like many here will be supportive but it is up to you to be brave.
I have attached a document for you both to look at. It is a simple view and method of caring for your self. If you have any questions please ask.
Learn from yesterday, live for today, hope is for tomorrow else what is left if you remove a mans hope.