It depends what you're trying to say. The first sentence implies that one of them is a teacher, but not both of them are. The second sentence states that neither of them is a teacher.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.