Jack ....
After the divorce, there's nothing to stop you re-marrying.

However, please do note, getting married to "Jill" does not mean she has automatic rights to live & remain in the UK.

She will still have to apply for a spouse visa..... which in most cases will mean returning to the Philipinnes after her student visa expires, and then re-applying.

.... you can try & get her original visa changed, but there's no guarantee that this will happen.

Best of luck