Are they the same?
No. What is the exact context? Do you really mean residual gas or residue gas? These are not the same either.
Does flared gas belong in either of these categories?
No. When natural gas is produced, most goes into pipeline to be processed at a gas plant. Some gas is used at the well, such as to power a compressor and is referred to as ‘lease use.’ Some gas may be vented (dispelled into the atmosphere) or flared (burned on site). This can be due to the pipeline being full and the gas has no where to go. Or the gas plant may be temporarily shut down for work and then the gas will be vented or flared. It cannot be stored on site. When gas gets to the plant, it is processed to remove liquid products (ethane, butane, iso-butane, etc) which are sold separately. Some of the gas is consumed at the plant for processing. The remaining ‘dry’ gas (stripped of liquids) is generally referred to as residue gas and is sold at the tailgate of the plant. Whether you are paid for lease use gas and vented or flared gas depends on the terms of your oil and gas lease. Your royalty check may pay the residue gas and products on separate lines or it may report them combined in a single line. All of this is entirely separate from residual gas.