A woman living in an Aylesbury Vale village has been sent to jail for setting fire to the block of flats she lives in.