My son lives in AB but worked for a period of time in BC. He will be receiving a T4 from the BC company.
He files with the province he lived in as of 31 December 2014, which seems to be AB.The T4 is entered as normal.