She resigned from her job citing illness.

Literal

She [topic-は] illness [object-を] reason [as-に] resigned.

理由に ('citing as reason') uses に to mark 病気 as the stated grounds. 辞職する ('to resign') is a formal Sino-Japanese compound.