Former Opposition Leader Sussan Ley will formally resign from parliament, after being ousted by the Liberals earlier this month.