to add, it is illegal, strictly speaking, to work in the period after you reenter US but before you get EAD. However, you would probably get by since it's too small a problem for anyone to detect.