Some municipalities offer assistance for families who can’t afford a funeral. You should check with yours to determine if they offer such a program. Government benefits and the VA offer funeral assistance to qualified applicants.
You also have the choice of donating your body to science in exchange for a free cremation. Your family will receive your ashes after a few weeks. Some organizations even plant a tree in remembrance of your generosity.