Pay irs ahead of time

I know there will be a 10 percent penalty taking out the non roth early but since funds are low and my husband and I are wanting to relocate, I think we should use that money in the mean time to get an apartment/take care of any expenses since wrongful termination. Would someone be able to pay the irs ahead of time or in between the year before the 2019 taxes come due?