If my archeops uses dig, and the opponent uses earthquake, will archeops take damage?
No, Dig will not affect Archeops because it is a Flying type Pokemon.
Hope this helps!
I just tested it
Note: This is according to Pokemon Showdown! this may be different in the games, but it is most likely correct.