As legal guardians, you are entitled to the exemption for your grandchild, but only one of you can claim it. Decide who should do this; it depends on who will save more in taxes for the family. You do not apportion the exemption between you.
This is generally adjusted gross income increased by certain items such as tax-free foreign earned income. MAGI usually is used to determine phaseouts of certain deductions and credits.