i disagree, the accord will keep its value longer since its a mid-size sedan. the corolla is a smaller, economy car which will lose its value quicker than the accord.
The accord is bigger, roomier, and probably faster but you sacrifice better fuel economy depending on which accord you get (weaker 4 cylinder or strong V6, either way corolla gets better mpg)
The corolla is smaller, easier to park/drive and gets really good fuel economy. but will lose its value faster than the accord.