Depends on what you want to do. You should be able to do most of the major attractions but not the minor ones. One thing I've found about Epcot evening EMH is that it stays busy and you can still see long ride lines because there are limited rides at Epcot. But if you want to do evening EMH at Epcot then I'd do:
Day 1 - rope drop DHS (get there at least 30 minutes prior to scheduled open) and ride in order Toy Story, Rock n Roller Coaster, Tower of Terror and Star Wars. You should be able to do all of those with pretty minimum wait and that's all we'd do at DHS (perhaps Great Movie as well?). Query whether you want to go back to the resort after DHS and rest for a couple of hours for the evening stay since the lines will probably be long by midday at Epcot. I'd save the FPs for Epcot and FP Soarin' or Frozen, ride Test Track single rider, and then ride some of the secondary rides. You might be able to get on Soarin' around park closing without much wait.
Day 2 - rope drop MK if they have morning EMH - you can get a lot done here. I'd get here 45 minutes before park opening and ride 7 Dwarfs first IF you are near the front -- I wouldn't spend a ton of time in any line first thing in the morning. I'd then ride Space Mountain (or this first if 7 Dwarfs has a long wait), Buzz, and perhaps Pooh or Peter Pan (Peter Pan will probably have a long wait by this point) if the line isn't bad. Then walk over to Frontier Land for regular park open and ride Big Thunder, Splash, Haunted Mansion, and Pirates. Jump on Jungle if the line isn't bad. Then I'd do Philharmagic and Laugh Floor and perhaps a couple of others if the line isn't long - Little Mermaid, perhaps Small World (I hate this ride). I'd FP Safari, EE and Dinosaur at AK, although you should be able to ride EE single rider without much wait (at least we've always been able to). Then go to the scary Bugs show, walk the trails, and Flights of Wonder.