Can I apply for K-ETA if my passport country is different from my country of residence?

Yes, you can apply as long as your passport was issued by a K-ETA eligible country. 
Just make sure to enter your current address and travel details accurately during the application.

Check ETA requirements