Yes, #1 suggests that you stopped working when or just before she arrived. #2 could mean either. For example, both these work: "I was doing my work when she arrived.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.