They are both correct, but they don't mean the same thing. "My friend from England" indicates where your friend is from, but not where he/she is now. "My friend in England" indicates where your friend is now, but he/she may or may not be English.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.