Yes. You can ask. Read your employment contract. In our company it doesnt matter you resigned or they terminate they will provide me a ticket to fly back home.