I live in Virginia and I work in Maryland. I was using the MW 507 for taxes instead of the Virginia tax form for 2015. How does this affect my taxes?

I do not earn any income in Virginia. I only income by working for my employer which is located in Maryland.