It would be a wise choice. They hold their value very, very well. In fact at our dealership you can buy a brand new 08 Mazda 3 for $2,000 more than a 07 Mazda 3 with 28K miles on it.
Consumer reports put the Mazda 3 at #2 of their top 5 least expensive vehicles they recommend to purchase.