Filing for divorce

I live in Pennsylvania

My husband has a simple assault charge

On me

Now if I file divorce how long does it take to get the divorce papers and does anybody have an indication of what the fees might be with custody?

Do I need to get a lawyer immediately?